package java_class_work.week07.thread;

/**
 * @Auther: admin
 * @Date: 2022/10/25 15:08
 * @Description: 创建线程的三种方式，二：实现Runnable接口
 */

public class Runnable01 implements Runnable {

    @Override
    public void run() {
        for (int i = 0; i < 1000; i++) {
            System.out.println("2号线程："+i);
        }
    }
}
